<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>书本详情</title>
</head>
<body>
</body>
<script src="js/jquery.min.js"></script>
<script>

        function getUrlParam  (name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;
        }
    window.onload = function () {
        bookId = getUrlParam(book_id);
        alert(bookId);
        $.ajax({
            url:backend+"book/getBookByID?bookId="+bookId,
            success(dataJ){

            }
        })
    }
</script>

</html>
